package org.seckill.vo;

import org.seckill.pojo.SuccessKilled;

/**
 * Created by ASUS on 2017/7/31.
 */
public class SeckillExecution {

    private long seckilled;

    private int status;

    private String info;

    private SuccessKilled successKilled;

    public SeckillExecution(long seckilled, int status, String info) {
        this.seckilled = seckilled;
        this.status = status;
        this.info = info;
    }

    public SeckillExecution(long seckilled, int status, String statusInfo, SuccessKilled successKilled) {

        this.seckilled = seckilled;
        this.status = status;
        this.info = statusInfo;
        this.successKilled = successKilled;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }


    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public SuccessKilled getSuccessKilled() {
        return successKilled;
    }

    public void setSuccessKilled(SuccessKilled successKilled) {
        this.successKilled = successKilled;
    }

    public long getSeckilled() {

        return seckilled;
    }

    public void setSeckilled(long seckilled) {
        this.seckilled = seckilled;
    }
}
